const controllers = require('../controllers/index');

const routes = [
    {
        method: 'get',
        path: '/hello',
        controller: controllers.example.Hello,
    },
    {
        method: 'get',
        path: '/',
        controller: controllers.front.getHtml,
    },
    {
        method: 'get',
        path: '/getdata',
        controller: controllers.example.getData,
    }
]

module.exports = routes;